package com.ruoyi.teaching.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教务校区对象 teaching_school
 *
 * @author William
 * @date 2022-10-10
 */
public class TeachingSchool extends BaseEntity
{
    private static final long serialVersionUID = 1L;



    /** 学校名称 */
    @Excel(name = "学校名称")
    private String name;

    /** 学校简称 */
    private String shortName;

    /** 省份编码 */
    @Excel(name = "省份编码")
    private String provinceCode;

    /** 身份名称 */
    @Excel(name = "身份名称")
    private String provinceName;

    /** 城市编码 */
    @Excel(name = "城市编码")
    private String cityCode;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 区域编码 */
    @Excel(name = "区域编码")
    private String areaCode;

    /** 区域名称 */
    @Excel(name = "区域名称")
    private String areaName;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 加盟时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "加盟时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinTime;

    /** 期限类型0常规1长期 */
    @Excel(name = "期限类型0常规1长期")
    private String allottedType;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date allottedTime;

    /** 负责人 */
    @Excel(name = "负责人")
    private String principal;

    /** 联系人电话 */
    @Excel(name = "联系人电话")
    private String principalPhone;

    /** 联系人微信 */
    @Excel(name = "联系人微信")
    private String principalWechat;

    /** 学员数量 */
    @Excel(name = "学员数量")
    private Integer studentCount;

    /** 会员数量 */
    @Excel(name = "会员数量")
    private Integer memberCount;

    /** 学校健康度 */
    @Excel(name = "学校健康度")
    private String healthDegree;

    /** 状态（0正常 1停用） */
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 创建人ID */
    private Long createId;

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setShortName(String shortName)
    {
        this.shortName = shortName;
    }

    public String getShortName()
    {
        return shortName;
    }
    public void setProvinceCode(String provinceCode)
    {
        this.provinceCode = provinceCode;
    }

    public String getProvinceCode()
    {
        return provinceCode;
    }
    public void setProvinceName(String provinceName)
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName()
    {
        return provinceName;
    }
    public void setCityCode(String cityCode)
    {
        this.cityCode = cityCode;
    }

    public String getCityCode()
    {
        return cityCode;
    }
    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }
    public void setAreaCode(String areaCode)
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode()
    {
        return areaCode;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setJoinTime(Date joinTime)
    {
        this.joinTime = joinTime;
    }

    public Date getJoinTime()
    {
        return joinTime;
    }
    public void setAllottedType(String allottedType)
    {
        this.allottedType = allottedType;
    }

    public String getAllottedType()
    {
        return allottedType;
    }
    public void setAllottedTime(Date allottedTime)
    {
        this.allottedTime = allottedTime;
    }

    public Date getAllottedTime()
    {
        return allottedTime;
    }
    public void setPrincipal(String principal)
    {
        this.principal = principal;
    }

    public String getPrincipal()
    {
        return principal;
    }
    public void setPrincipalPhone(String principalPhone)
    {
        this.principalPhone = principalPhone;
    }

    public String getPrincipalPhone()
    {
        return principalPhone;
    }
    public void setPrincipalWechat(String principalWechat)
    {
        this.principalWechat = principalWechat;
    }

    public String getPrincipalWechat()
    {
        return principalWechat;
    }
    public void setStudentCount(Integer studentCount)
    {
        this.studentCount = studentCount;
    }

    public Integer getStudentCount()
    {
        return studentCount;
    }
    public void setMemberCount(Integer memberCount)
    {
        this.memberCount = memberCount;
    }

    public Integer getMemberCount()
    {
        return memberCount;
    }
    public void setHealthDegree(String healthDegree)
    {
        this.healthDegree = healthDegree;
    }

    public String getHealthDegree()
    {
        return healthDegree;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("schoolId", getSchoolId())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("provinceCode", getProvinceCode())
            .append("provinceName", getProvinceName())
            .append("cityCode", getCityCode())
            .append("cityName", getCityName())
            .append("areaCode", getAreaCode())
            .append("areaName", getAreaName())
            .append("address", getAddress())
            .append("joinTime", getJoinTime())
            .append("allottedType", getAllottedType())
            .append("allottedTime", getAllottedTime())
            .append("principal", getPrincipal())
            .append("principalPhone", getPrincipalPhone())
            .append("principalWechat", getPrincipalWechat())
            .append("studentCount", getStudentCount())
            .append("memberCount", getMemberCount())
            .append("healthDegree", getHealthDegree())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createId", getCreateId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
